<?php
header("Content-Type: text/html");
header("charset: utf-8");
include_once("_common.php");

$sql = " select * from g4_member where mb_id = '$mb_id' ";
$row = sql_fetch($sql);

$sql = " select count(*) as cnt from $bo_table where mb_id = '$mb_id' and wr_is_comment=0 ";
$row_cnt = sql_fetch($sql);
$my_write_count = $row_cnt['cnt'];

?>
<dl class="follow">
	<dt><img src="<?if($row['mb_icon'])echo $row['mb_icon'];else if($row['mb_sex']=='F') echo "/img/product/icon_people1.gif"; else echo "/img/product/icon_people.gif";?>" width="123" height="123" /></dt>
	<dd class="pl_name"><span class="pn01"><strong><?=$row['mb_nick']?></strong> <?=$row['mb_addr1_1']?></span><span class="pn02"><a href="javascript:win_memo('/bbs/memo_form.php?me_recv_mb_id=<?=$row['mb_nick']?>')">쪽지보내기</a></span></dd>
	<dd class="pl_cnt">
		<?=$row['mb_intro']?>
	</dd>
	<dd class="pl_info"><a href="javascript:goMySearch('member_write','<?=$mb_id?>');" style="display:inline-block;">게시글(<?=$my_write_count?>)</a></dd>
</dl>
